#ifndef JULIAWINDOW_H
#define JULIAWINDOW_H

#include <QWidget>

class QLabel;
class QSpinBox;
class QDoubleSpinBox;
class QPushButton;
class RenderArea;

class JuliaWindow : public QWidget
{
    Q_OBJECT

public:
    JuliaWindow(QWidget *parent = 0);

public slots:
    void setLambda(double x, double y);

private slots:
    void lambdaChanged();

private:
    RenderArea *renderArea;
    QLabel *helpLabel;
    QLabel *iterationLabel;
    QLabel *lambdaReLabel;
    QLabel *lambdaImLabel;
    QSpinBox *iterationSpinBox;
    QDoubleSpinBox *lambdaReSpinBox;
    QDoubleSpinBox *lambdaImSpinBox;
    QPushButton *resetButton;
    QPushButton *quitButton;
};

#endif
